/*
 * @Date: 2019-06-01 09:37:00
 * @Author: Ryan Huang
 * @Description: all constants
 */
package constants

const Port = "8888"
const ServerAddr = "127.0.0.1:8888"
const TCP = "tcp"
const UDP = "udp"

const Driver = "mysql"
const DNS = "root:root@tcp(127.0.0.1:3306)/study?charset=utf8mb4"

const WrongUserPass = "用户密码错误"
const LoginSuccess = "登录成功"
const MessageTooLong = "信息太长"
const MessageMaxLen = 512
const AccountLogined = "该用户已登录"
